{% extends 'base/searchbasehead.html' %}
{% block title %}
    首页
{% endblock %}
{% block content %}
    {% for foo in data %}
        <div class="jumbotron jumbotron-fluid">
            <div class="container">
                <h3 class="display-4"><a href="{% url "getbook" bookid=foo.bookid  %}">{{ foo.title }}</a>
                </h3>
                <h6>author：{{ foo.author }}</h6>
                <p class="lead">{{ foo.profile }}</p>
            </div>
        </div>
    {% endfor %}
{% endblock %}